package db

import "github.com/syndtr/goleveldb/leveldb/opt"

// DB 数据库.
type DB interface {
	Has(key []byte, ro *opt.ReadOptions) (ret bool, err error)
	Get(key []byte, ro *opt.ReadOptions) (value []byte, err error)
	Put(key, value []byte, wo *opt.WriteOptions) error
}
